//package com.kws.merchant.controller;
//
//import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
//import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
//import com.kws.common.core.domain.R;
//import com.kws.merchant.domain.po.GoodsPo;
//import com.kws.merchant.domain.vo.GoodsInfoVo;
//import com.kws.merchant.domain.vo.GoodsVo;
//import com.kws.merchant.service.GoodsService;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RestController;
//
///**
// * @author : zhangbenting
// * @date : 2024/10/30 19:10
// * @Version: 1.0
// */
//@RequestMapping("/goodsManage")
//@RestController
//@Api(value = "用户服务-商品管理", tags = "用户服务-商品管理")
//public class GoodsManageController {
//
//    @Autowired
//    private GoodsService goodsService;
//
//
//    @PostMapping("/goodsList")
//    @ApiOperation("获取商品列表")
//    @ApiOperationSupport(order = 1, includeParameters = {
//            "goodsPo.name",
//            "goodsPo.type",
//            "goodsPo.shopsId",
//            "goodsPo.shopsName"
//    })
//    public R<Page<GoodsVo>> goodsList(@RequestBody GoodsPo goodsPo) {
//        return R.ok(goodsService.goodsList(goodsPo));
//    }
//
//    @PostMapping("/getGoodsInfo")
//    @ApiOperation("获取商品信息")
//    @ApiOperationSupport(order = 1, includeParameters = {
//            "goodsPo.goodsId"
//    })
//    public R<GoodsInfoVo> getGoodsInfo(@RequestBody GoodsPo goodsPo) {
//        return R.ok(goodsService.getGoodsInfo(goodsPo));
//    }
//}
